package other.mvp.activity.src

fun mvpActivityKt(
        applicationPackage: String?,
        activityClass: String,
        layoutName: String,
        packageName: String
) = """
package ${packageName}.${activityClass};

import ${packageName}.R;
import ${packageName}.${activityClass}.mvp.I${activityClass}Contract;
import ${packageName}.${activityClass}.mvp.${activityClass}Presenter;

public class ${activityClass}Activity 
        extends BaseMvpActivity<${activityClass}Presenter> 
        implements I${activityClass}Contract.View{
    @Override
    protected void initData() {
        
    }

    @Override
    protected ${activityClass}Presenter createPresenter() {
        return new ${activityClass}Presenter();
    }

    @Override
    protected int getLayoutId() {
        return R.layout.${layoutName};
    }

    @Override
    protected void initView() {

    }
}
"""